<?php
/**********************************
 * class Config
 * - 包括 通用常量、变量 和 通用函数
 *
 ***********************************/
//dev home url 			=> http://collarconnect.com/dev/
//localhost url 		=> http://localhost/kala/website/
//live site home url 	=> http://collarconnect.com/
//define('HOME_URL','http://collarconnect.com/dev/');
define('HOME_URL','http://localhost/OOP/');
define('ROOT', dirname(__FILE__).'/');
define('ROOT_DIR', dirname(__FILE__).'/');
define('COOKIE_END_DAY',3600*24*60); //cookie 保存 60 天
define('USER_HOME_URL',HOME_URL.'user/');

define('AUTO_EMAIL_ADDRESS', 'noreply@collarconnect.com');
define('AUTO_EMAIL_NAME', '卡拉客服');

require_once(ROOT.'libs/meekrodb.class.php');

DB::$host = 'localhost';
DB::$user = 'collarco_admin';
DB::$password = '7C6WJFHv5sbBKpqm';
DB::$dbName = 'collarconnect';
DB::$error_handler = 'error_handler';


class Config {//it seems pointless to have this class...
	/*
	 * Constructor 
	 */
	function __construct() {
    }

}

?>